﻿namespace BJYJ_Admin.Application.System.Dtos;


public class LogSearchDto : BasePageRequest
{
    /// <summary>
    /// 备  注:操作人
    /// 默认值:
    ///</summary>
    public string USERNAME { get; set; }

    /// <summary>
    /// 备  注:方法名称
    /// 默认值:
    ///</summary>
    public string ACTIONTYPENAME { get; set; }

    /// <summary>
    /// 备  注:方法描述
    /// 默认值:
    ///</summary>
    public string DISPLAYTITLE { get; set; }

    /// <summary>
    /// IP地址
    /// 默认值:
    ///</summary>
    public string IP { get; set; }
    /// <summary>
    /// 日志类型0登陆，1全部，2异常，3正常
    /// 默认值:
    ///</summary>
    public int? TYPE { get; set; }
}

public class LogListOutDto
{
    /// <summary>
    /// 备  注:主键
    /// 默认值:
    ///</summary>
    public int ID { get; set; }

    /// <summary>
    /// 备  注:操作人
    /// 默认值:
    ///</summary>
    public string USERNAME { get; set; }

    /// <summary>
    /// 备  注:控制器名称
    /// 默认值:
    ///</summary>
    public string ACTIONNAME { get; set; }

    /// <summary>
    /// 备  注:浏览器
    /// 默认值:
    ///</summary>
    public string BROWSER { get; set; }

    /// <summary>
    /// 备  注:操作名称
    /// 默认值:
    ///</summary>
    public string ACTIONTYPENAME { get; set; }

    /// <summary>
    /// 备  注:显示操作名称
    /// 默认值:
    ///</summary>
    public string DISPLAYTITLE { get; set; }

    /// <summary>
    /// 备  注:客服端IPV4地址
    /// 默认值:
    ///</summary>
    public string REMOTEIPV4 { get; set; }

    /// <summary>
    /// 备  注:请求方法
    /// 默认值:
    ///</summary>
    public string HTTPMETHOD { get; set; }

    /// <summary>
    /// 备  注:客户端连接ID
    /// 默认值:
    ///</summary>
    public string TRACEID { get; set; }

    /// <summary>
    /// 备  注:线程ID
    /// 默认值:
    ///</summary>
    public string THREADID { get; set; }

    /// <summary>
    /// 备  注:请求地址
    /// 默认值:
    ///</summary>
    public string REQUESTURL { get; set; }

    /// <summary>
    /// 备  注:执行耗时
    /// 默认值:
    ///</summary>
    public string TIMEOPERATIME { get; set; }

    /// <summary>
    /// 备  注:写入时间
    /// 默认值:
    ///</summary>
    public DateTime? CREATE_TIME { get; set; }

    /// <summary>
    /// 备  注:日志级别
    /// 默认值:
    ///</summary>
    public string LOGLEVEL { get; set; }


    /// <summary>
    /// 备  注:完整日志
    /// 默认值:
    ///</summary>
    public string ALLINFO { get; set; }

}

